<script setup lang="ts">
import {onMounted} from 'vue'
defineProps({
  deleteDialogConfig:{
    type: Object,
    required: true
  },
});
onMounted(() => {

})


</script>

<template>
    <el-dialog  v-model="deleteDialogConfig.visible" :title="deleteDialogConfig.alertTitle" width="22%" center>
    <span>
      {{ deleteDialogConfig['message'] }}
    </span>
        <template #footer>
      <span class="dialog-footer">
        <el-button @click="deleteDialogConfig.visible = false">
            {{ deleteDialogConfig['cancelText'] }}
        </el-button>
        <el-button type="danger" @click="deleteDialogConfig.confirmFunction">
            {{ deleteDialogConfig['confirmText'] }}
        </el-button>
      </span>
        </template>
    </el-dialog>
</template>

<style scoped lang="scss">

</style>